﻿using RAP.Framework.Libary.DataSource.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace RAP.Web.Libary.Common.Model.Log
{
	/// <summary>
	/// API日志参数接口
	/// </summary>
	public interface ILogParams : IAPIQueryParams
	{
		/// <summary>
		/// 模块Id
		/// </summary>
		string ModuleId { get; set; }

		/// <summary>
		/// 模块名称
		/// </summary>
		string ModuleName { get; set; }

		/// <summary>
		/// 需要记录的查询参数集合
		/// </summary>
		IList Params { get; set; }

		/// <summary>
		/// API开始执行的时间
		/// </summary>
		DateTime StartTime { get; set; }

		/// <summary>
		/// API执行耗时
		/// </summary>
		int Duration { get; set; }

		/// <summary>
		/// API查询到的数据总量
		/// </summary>
		int DataCount { get; set; }
	}
}
